package no.sachmuld.methodcombination.examples.annotation.extendbehaviour.v2;

import no.sachmuld.aspectjattach.AspectJAgent;

/**
 *
 */
public class Main implements Runnable {

    @Override
    public void run() {

        AspectJAgent.initializeIfNeeded();

        new Runnable() {

            @Override
            public void run() {
                Bar bar = new Bar();
                bar.foo();
                bar.bar();
            }

        }.run();

    }

    public static void main(String... args) {

        new Main().run();

    }

}
